package com.newtouch.bxzs.business.train.model.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;

/**
 * PC端展示层BO
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/7 14:38</td>
 * <td>lingshouyi</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author lingshouyi
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@ApiModel(value = "PC端知识卡片BO")
public class KnowledgeCardBO implements Serializable {

	private static final long serialVersionUID = 3274392578042018813L;

	@ApiModelProperty(value = "知识卡片id")
	private String knowledgeCardId;

	@ApiModelProperty(value = "知识卡片标题")
	private String knowledgeCardTitle;

	@ApiModelProperty(value = "知识卡片分类:1,推荐 2,产品 3,理念 4,保险圈 5,健康 6,谈资")
	private String knowledgeCardType;

	@ApiModelProperty(value = "知识卡片简介")
	private String knowledgeCardIntroduction;

	@ApiModelProperty(value = "知识小灵通内容")
	private String knowledgeCardContent;

	@ApiModelProperty(value = "发布时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date publishTime;

	@ApiModelProperty(value = "撤销时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date revokeTime;

	@ApiModelProperty(value = "发布状态")
	private String publishStatus;

	@ApiModelProperty(value = "修改人id")
	private String updateUserId;

	@ApiModelProperty(value = "附件姓名")
	private HashMap<String, List<String>> attachments;
}
